package com.poker.wiki.Service.Impl;

import com.poker.wiki.Service.ContentService;
import com.poker.wiki.entity.Content;
import com.poker.wiki.mapper.ContentMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ContentServiceImpl implements ContentService {
    @Resource
    ContentMapper contentMapper;

    public Content findContent(Long id) {
        return contentMapper.selectByPrimaryKey(id);
    }
}
